<script src="<?= base_url(); ?>third_party/ckeditor/ckeditor.js"></script>


<div class="heading-buttons">
	<h3 class="glyphicons no-js envelope"><i></i> Message Management</h3>
	


</div>
<div class="separator"></div>
<div class="widget widget-2 widget-body-white finances_summary">
	<div class="widget-head">
		<h4 class="heading glyphicons no-js envelope"><i></i> Message on : <?= $this->admin_listing_model->get_business_name($message['view']->listing_id)->title;?></h4>
		<span class="pull-right"> <a
			href="<?= base_url();?>secure/reports/messages"> <span
				class="btn btn-inverse margin-right"> Back</span>
		</a>
		</span>
	</div>
	<div class="widget-body">
		<div class="row-fluid">
	 <form name="message" method="POST" action="#">
                       
                <table class="table table-condensed" >
				
				
                                        
                                       <?php
                                            $this->session->flashdata('message'); {
                                                $msg = $this->session->flashdata('message');
                                                echo '<font color="red">' . $msg . '</font>';
                                            }
                                            ?>
                
				<tbody>
					<tr>
						<td class="left">Name</td>
						<td>
						<input name="title" type ="text" value="<?= $message['view']->name;?>" class="span12" ></td>
					</tr>
					<tr>
						<td class="left">Email</td>
						<td>
					<input name="meta_title" type ="text" value="<?= $message['view']->email;?> " class="span12"></td>
					</tr>
					<tr>
						<td class="left">Contact No</td>
						<td>
					<input name="meta_title" type ="text" value="<?= $message['view']->contact_no;?>" class="span12"></td>
					</tr>
					
					<tr>
						<td class="left">Location</td>
						<td>
					<input name="meta_keyword" type="text" value="<?= $message['view']->location;?> " class="span12"></td>
					</tr>
					<tr>
						<td class="left">Description</td>
						<td>
					  <textarea id="news_details" name="news_detail"><?= $message['view']->description;?></textarea>
                        <script type="text/javascript">
                            CKEDITOR.replace( 'news_details',
                            {
                                skin : 'v2',
                                enterMode : CKEDITOR.ENTER_BR,
                                toolbar :
                                    [
                                    [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
                                    [ 'UIColor' ]
                                ]

                            });
                        </script></tr>
					
					
				</tbody>
			</table>
	
     </form>           
            
	</div>
	</div>
</div>






